﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Milan.Licensing
{
	/// <summary>
	/// A ticket is an issue with a product.
	/// </summary>
	public class Ticket
	{
		[Key]
		public int uid { get; set; }
		[StringLength(100)]
		public string Title { get; set; }
		public string Description { get; set; }
		public User ReportedBy { get; set; }
		public DateTime ReportedOn { get; set; }
		public DateTime LastUpdatedOn { get; set; }
		public User HandledBy { get; set; }
		public TicketStatus Status { get; set; }
		public int PercentCompleted { get; set; }
		public float EstimatedHours { get; set; }
		public float ActualHours { get; set; }
	}
}
